"""
1)  被参数化的内容是字符串
"""
import pytest
# 多个参数的参数化，且列表中的对象为字符串类型
@pytest.mark.parametrize("username",['jiangchu','jiangchang','youyuanyuan'])
@pytest.mark.parametrize('password',['test1234','test5678','test9876'])
def test_register(username,password):
    print(f'登录成功。用户名为{username},密码为{password}')
if __name__ == '__main__':
    pytest.main(['-v','-s','被参数化的内容是字符串.py'])



